<!DOCTYPE html>



  


<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">


  
  
    
    
  <script src="/lib/pace/pace.min.js?v=1.0.2"></script>
  <link href="/lib/pace/pace-theme-minimal.min.css?v=1.0.2" rel="stylesheet">







<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon.ico?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon.ico?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="mysql,主从同步," />










<meta name="description" content="安装第二个mysql1.主库my.cnf配置  在上一篇文章中已经安装了一个mysql作为主库，要想顺利安装另一个mysql作为从库可不是那么容易。主库的有些配置需要先做相应修改。  /etc/init.d/mysqld启动脚本读取my.cnf配置文件有先后顺序，最先读到的是/etc/my.cnf,但是用到的却是最后读到的。单个数据库都好说，数据库多了为了方便管理我们不把my.cnf放在/etc/">
<meta name="keywords" content="mysql,主从同步">
<meta property="og:type" content="article">
<meta property="og:title" content="mysql数据库主从同步(一)">
<meta property="og:url" content="http://tomasyao.gitee.info/2017/07/15/mysql数据库主从同步-一/index.html">
<meta property="og:site_name" content="Tomasyao">
<meta property="og:description" content="安装第二个mysql1.主库my.cnf配置  在上一篇文章中已经安装了一个mysql作为主库，要想顺利安装另一个mysql作为从库可不是那么容易。主库的有些配置需要先做相应修改。  /etc/init.d/mysqld启动脚本读取my.cnf配置文件有先后顺序，最先读到的是/etc/my.cnf,但是用到的却是最后读到的。单个数据库都好说，数据库多了为了方便管理我们不把my.cnf放在/etc/">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2018-11-30T04:02:41.080Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="mysql数据库主从同步(一)">
<meta name="twitter:description" content="安装第二个mysql1.主库my.cnf配置  在上一篇文章中已经安装了一个mysql作为主库，要想顺利安装另一个mysql作为从库可不是那么容易。主库的有些配置需要先做相应修改。  /etc/init.d/mysqld启动脚本读取my.cnf配置文件有先后顺序，最先读到的是/etc/my.cnf,但是用到的却是最后读到的。单个数据库都好说，数据库多了为了方便管理我们不把my.cnf放在/etc/">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    version: '5.1.4',
    sidebar: {"position":"left","display":"hide","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://tomasyao.gitee.info/2017/07/15/mysql数据库主从同步-一/"/>





  <title>mysql数据库主从同步(一) | Tomasyao</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before">
          <i style="background:rgba(204,163,81,0.8);height:2px;"></i>
        </span>
        <span class="site-title">Tomasyao</span>
        <span class="logo-line-after">
          <i style="background:rgba(204,163,81,0.8);height:2px;"></i>
        </span>
      </a>
    </div>
      
        <p class="site-subtitle">与世界分享我刚编的故事</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-commonweal">
          <a href="/404.html" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-heartbeat"></i> <br />
            
            公益404
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://tomasyao.gitee.info/2017/07/15/mysql数据库主从同步-一/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="tomasyao">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="http://pic.tomasyao.info/avatar.png">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Tomasyao">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">mysql数据库主从同步(一)</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2017-07-15T19:08:11+08:00">
                2017-07-15
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  918
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  4
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="安装第二个mysql"><a href="#安装第二个mysql" class="headerlink" title="安装第二个mysql"></a>安装第二个mysql</h2><p><strong>1.主库my.cnf配置</strong></p>
<blockquote>
<p>在上一篇文章中已经安装了一个mysql作为主库，要想顺利安装另一个mysql作为从库可不是那么容易。主库的有些配置需要先做相应修改。</p>
</blockquote>
<p>/etc/init.d/mysqld启动脚本读取my.cnf配置文件有先后顺序，最先读到的是/etc/my.cnf,但是用到的却是最后读到的。单个数据库都好说，数据库多了为了方便管理我们不把my.cnf放在/etc/目录下，而是放在$basedir/目录下，也就是数据库解压安装生成的目录下。</p>
<p><strong>于是:</strong><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">sudo cp /etc/my.cnf /home/zouy/Downloads/mysql/mysql-5.7.18</div><div class="line">sudo rm /etc/my.cnf</div></pre></td></tr></table></figure></p>
<a id="more"></a>
<p>然后对my.cnf的内容做一下补充</p>
<blockquote>
<p>[client]<br>port = 3306<br>default-character-set = utf8<br>[mysqld]<br>port = 3306<br>basedir = /home/zouy/Downloads/mysql/mysql-5.7.18<br>datadir = /home/zouy/Downloads/mysql/mysql-5.7.18/mysql-files<br>socket = /home/zouy/Downloads/mysql/mysql-5.7.18/mysql.sock</p>
<p>#跳过权限验证</p>
<p>#skip-grant-tables<br>[mysqld]<br>max_connections = 1000<br>max_connect_errors = 1000<br>sort_buffer_size = 16M<br>query_cache_size = 64M<br>query_cache_limit = 4M</p>
<p>#default-storage-engine=INNODB<br>[mysqldump]<br>max_allowed_packet = 32M</p>
</blockquote>
<p><code>实际的my.cnf配置项有很多，以后再具体分析</code></p>
<p><strong>2.主库mysqld服务配置</strong><br>这里只是将上一篇没有说到的列出来</p>
<blockquote>
<p>basedir=/home/zouy/Downloads/mysql/mysql-5.7.18<br>datadir=/home/zouy/Downloads/mysql/mysql-5.7.18/mysql-files</p>
<p>#这里先这样改，好像暂时没什么用,默认是/var/lock/subsys会出奇怪的问题。<br>lockdir=’/home/zouy/Downloads/mysql/mysql-5.7.18/var/lock/subsys’</p>
</blockquote>
<p><strong>3.从库解压安装</strong><br>基本与主库解压安装类似，对上篇文章的安装细微优化后，这里我简单列出安装命令<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div></pre></td><td class="code"><pre><div class="line">cd /home/zouy/Downloads/mysql</div><div class="line">#上一篇已经重命名过所以不用担心解压有问题</div><div class="line">tar -zxvf mysql-5.7.18-linux-glibc2.5-x86_64.tar.gz</div><div class="line">mv mysql-5.7.18-linux-glibc2.5-x86_64 mysql-5.7.18-slave </div><div class="line">cd /home/zouy/Downloads/mysql/mysql-5.7.18-slave </div><div class="line">mkdir mysql-files</div><div class="line"></div><div class="line">#zouy为我的Ubuntu系统的登录用户</div><div class="line">sudo bin/mysqld --initialize --user=zouy --basedir=/home/zouy/Downloads/mysql/mysql-5.7.18-slave --datadir=/home/zouy/Downloads/mysql/mysql-5.7.18-slave/mysql-files</div><div class="line"></div><div class="line">sudo cp support-files/mysql.server /etc/init.d/mysqld-slave</div></pre></td></tr></table></figure></p>
<p><code>环境变量就不用配了,之前为mysql配过也建议取消掉</code></p>
<p><strong>4.从库my.cnf配置</strong><br>从主库里考一份然后改一下相关变量即可</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">cp /home/zouy/Downloads/mysql/mysql-5.7.18-slave/my.cnf  /home/zouy/Downloads/mysql/mysql-5.7.18-slave</div></pre></td></tr></table></figure>
<blockquote>
<p>[client]<br>port = 3307<br>default-character-set = utf8<br>[mysqld]<br>port = 3307<br>basedir = /home/zouy/Downloads/mysql/mysql-5.7.18-slave<br>datadir = /home/zouy/Downloads/mysql/mysql-5.7.18-slave/mysql-files<br>socket = /home/zouy/Downloads/mysql/mysql-5.7.18-slave/mysql.sock</p>
<p>#跳过权限验证</p>
<p>#skip-grant-tables<br>[mysqld]<br>max_connections = 1000<br>max_connect_errors = 1000<br>sort_buffer_size = 16M<br>query_cache_size = 64M<br>query_cache_limit = 4M</p>
<p>#default-storage-engine=INNODB<br>[mysqldump]<br>max_allowed_packet = 32M</p>
</blockquote>
<p><strong>5.从库mysqld-slave服务配置</strong><br>从主库里考一份然后改一下相关变量即可</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">sudo cp /etc/init.d/mysqld /etc/init.d/mysqld-slave</div></pre></td></tr></table></figure>
<blockquote>
<p>basedir=/home/zouy/Downloads/mysql/mysql-5.7.18-slave<br>datadir=/home/zouy/Downloads/mysql/mysql-5.7.18-slave/mysql-files</p>
<p>#这里先这样改，好像暂时没什么用,默认是/var/lock/subsys会出奇怪的问题。<br>lockdir=’/home/zouy/Downloads/mysql/mysql-5.7.18-slave/var/lock/subsys’</p>
</blockquote>
<p><strong>6.从库账户配置</strong><br>这里只说明本地通过$basedir/bin/mysql登录数据库服务器需要指定–socket参数，其余对账户的权限分配以及配置远程登录请参照上一篇文章。</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line">cd /home/zouy/Downloads/mysql/mysql-5.7.18-slave</div><div class="line">bin/mysql --socket=/home/zouy/Downloads/mysql/mysql-5.7.18-slave/mysql.sock -u root -p</div><div class="line">......</div></pre></td></tr></table></figure>
<p><code>注意，依然先跳过访问控制，改变root账户的密码以及过期时间后，重新通过密码登录mysql服务器。</code></p>
<p><strong>7.小结</strong></p>
<blockquote>
<p>以后通过如下命令来管理主从数据库<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">service mysqld [start|stop|restart|status]</div><div class="line">service mysqld-slave [start|stop|restart|status]</div></pre></td></tr></table></figure></p>
</blockquote>

      
    </div>
    
    
    
    
        <div>
        
    <div style="text-align:center;color: #ccc;font-size:14px;">-------------本文结束<i class="fa fa-paw"></i>感谢您的阅读-------------</div>


      </div>
    

    

    
      <div>
        <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
  <div>坚持原创技术分享，您的支持将鼓励我继续创作！</div>
  <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
    <span>打赏</span>
  </button>
  <div id="QR" style="display: none;">

    
      <div id="wechat" style="display: inline-block">
        <img id="wechat_qr" src="http://pic.tomasyao.info/lALPACOG81QLSKnNBHDNAzw_828_1136.png_620x10000q90g.jpg" alt="tomasyao 微信支付"/>
        <p>微信支付</p>
      </div>
    

    
      <div id="alipay" style="display: inline-block">
        <img id="alipay_qr" src="http://pic.tomasyao.info/lADPACOG81QJkZHNBETNAtA_720_1092.jpg_620x10000q90g.jpg" alt="tomasyao 支付宝"/>
        <p>支付宝</p>
      </div>
    

    

  </div>
</div>

      </div>
    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/mysql/" rel="tag"><i class="fa fa-tag"></i> mysql</a>
          
            <a href="/tags/主从同步/" rel="tag"><i class="fa fa-tag"></i> 主从同步</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2017/07/13/在Ubuntu上解压安装mysql/" rel="next" title="在centos7.3 64bit系统上解压安装mysql">
                <i class="fa fa-chevron-left"></i> 在centos7.3 64bit系统上解压安装mysql
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2017/07/17/mysql数据库主从同步-二/" rel="prev" title="mysql数据库主从同步(二)">
                mysql数据库主从同步(二) <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image"
                src="http://pic.tomasyao.info/avatar.png"
                alt="tomasyao" />
            
              <p class="site-author-name" itemprop="name">tomasyao</p>
              <p class="site-description motion-element" itemprop="description">D9lab</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives">
              
                  <span class="site-state-item-count">26</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">1</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">39</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          

          
          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-inline">
              <div class="links-of-blogroll-title">
                <i class="fa  fa-fw fa-link"></i>
                Links
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.uisdc.com/" title="优设" target="_blank">优设</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.zhangxinxu.com/" title="张鑫旭" target="_blank">张鑫旭</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.alloyteam.com/nav/" title="Web前端导航" target="_blank">Web前端导航</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.36zhen.com/t?id=3448" title="前端书籍资料" target="_blank">前端书籍资料</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://ife.baidu.com/" title="百度前端技术学院" target="_blank">百度前端技术学院</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://wf.uisdc.com/cn/" title="google前端开发基础" target="_blank">google前端开发基础</a>
                  </li>
                
              </ul>
            </div>
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#安装第二个mysql"><span class="nav-number">1.</span> <span class="nav-text">安装第二个mysql</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="copyright">&copy; <span itemprop="copyrightYear">2018</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">tomasyao</span>

  
</div>


  <div class="powered-by">
  <i class="fa fa-user-md"></i><span id="busuanzi_container_site_uv">
    本站访客数:<span id="busuanzi_value_site_uv"></span>
  </span>
  </div>



  <span class="post-meta-divider">|</span>



  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Mist</a> v5.1.4</div>





  <span class="post-meta-divider">|</span>



  <div class="theme-info">
    <div class="powered-by"></div>
    <span class="post-count">博客全站共16.8k字</span>
  </div>


        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

  <!-- 页面点击小红心 -->
  <script type="text/javascript" src="/js/src/love.js"></script>
<script src="/live2dw/lib/L2Dwidget.min.js?0c58a1486de42ac6cc1c59c7d98ae887"></script><script>L2Dwidget.init({"model":{"scale":1,"hHeadPos":0.5,"vHeadPos":0.618,"jsonPath":"/live2dw/assets/tororo.model.json"},"display":{"superSample":2,"width":80,"height":100,"position":"right","hOffset":30,"vOffset":10},"mobile":{"show":true,"scale":0.5},"react":{"opacityDefault":1,"opacityOnHover":1},"log":false,"pluginJsPath":"lib/","pluginModelPath":"assets/","pluginRootPath":"live2dw/","tagMode":false});</script></body>
</html>
